package com.iflysse.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.pagehelper.PageHelper;
import com.iflysse.dao.StudentTestDao;
import com.iflysse.dto.StudentTestDto;
import com.iflysse.service.StudentTestService;
@Service
public class StudentTestServiceImpl implements StudentTestService{
	@Autowired
	private StudentTestDao studentTestDao;
	@Override
	public Object getStudentTestCount(String studentId, Integer pageIndex, Integer pageSize) {
		PageHelper.startPage(pageIndex, pageSize);
		StudentTestDto testDto = studentTestDao.getStudentTestCount(studentId);
		return testDto;
	}

}
